﻿/**
 * ...
 * @author Innocentiy Shuvalov
 */

package list;

import flash.events.Event;

class ScrollEvent extends Event {
	
	public static inline var SCROLL = "SCROLL";
	
	public static inline var UP = "UP";
	public static inline var DOWN = "DOWN";
	public static inline var TWO_UP = "TWO_UP";
	public static inline var TWO_DOWN = "TWO_DOWN";
	public static inline var PAGE_DOWN = "PAGE_DOWN";
	public static inline var PAGE_UP = "PAGE_UP";
	public static inline var END = "END";
	public static inline var HOME = "HOME";
	
	private var mode : String;
	
	public function new(scrollMode : String) {
		super(SCROLL);
		mode = scrollMode;
	}
	
	public function getScrollMode() {
		return mode;
	}
	
}